package com.ruoyi.cyinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户其他信息对象 info_user_other
 * 
 * @author ruoyi
 * @date 2024-03-10
 */
public class InfoUserOther extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户表 */
    @Excel(name = "用户表")
    private Long sysUserId;

    /** 答题数量存题库id(仅答对计入) */
    @Excel(name = "答题数量存题库id(仅答对计入)")
    private String answerId;

    /** 答题数量 */
    @Excel(name = "答题数量")
    private Long answerCount;

    /** 体力值 */
    @Excel(name = "体力值")
    private Long strengthValue;

    /** 贡献值 */
    @Excel(name = "贡献值")
    private Long contributeValue;

    /** 观看广告次数（有效次数计入） */
    @Excel(name = "观看广告次数", readConverterExp = "有=效次数计入")
    private Long watchAdSum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSysUserId(Long sysUserId) 
    {
        this.sysUserId = sysUserId;
    }

    public Long getSysUserId() 
    {
        return sysUserId;
    }
    public void setAnswerId(String answerId) 
    {
        this.answerId = answerId;
    }

    public String getAnswerId() 
    {
        return answerId;
    }
    public void setAnswerCount(Long answerCount) 
    {
        this.answerCount = answerCount;
    }

    public Long getAnswerCount() 
    {
        return answerCount;
    }
    public void setStrengthValue(Long strengthValue) 
    {
        this.strengthValue = strengthValue;
    }

    public Long getStrengthValue() 
    {
        return strengthValue;
    }
    public void setContributeValue(Long contributeValue) 
    {
        this.contributeValue = contributeValue;
    }

    public Long getContributeValue() 
    {
        return contributeValue;
    }
    public void setWatchAdSum(Long watchAdSum) 
    {
        this.watchAdSum = watchAdSum;
    }

    public Long getWatchAdSum() 
    {
        return watchAdSum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sysUserId", getSysUserId())
            .append("answerId", getAnswerId())
            .append("answerCount", getAnswerCount())
            .append("strengthValue", getStrengthValue())
            .append("contributeValue", getContributeValue())
            .append("watchAdSum", getWatchAdSum())
            .toString();
    }
}
